Developer --> Technical Publications
PATHMac OS 8 Developer Documentation > Files > Navigation Services >

Programming With Navigation Services 1.1


Object Filtering Constants

Navigation Services passes one of the constants defined by the NavFilterModes data type to the filterMode parameter of your application-defined filter function to tell your application whether the browser list or one of the navigation option pop-up menus contains the object currently being filtered. For more information, see Filtering File Objects.

enum {
    kNavFilteringBrowserList        = 0,
    kNavFilteringFavorites          = 1,
    kNavFilteringRecents            = 2,
    kNavFilteringShortCutVolumes    = 3,
    kNavFilteringLocationPopup      = 4
};
typedef UInt32  NavFilterModes;

Constant Descriptions

kNavFilteringBrowserList
The browser list contains the object being filtered.
kNavFilteringFavorites
The Favorites pop-up menu contains the object being filtered.
kNavFilteringRecents
The Recent pop-up menu contains the object being filtered.
kNavFilteringShortCutVolumes
The Shortcuts pop-up menu contains the object being filtered.
kNavFilteringLocationPopup
The object being filtered is the path described by the Location menu.

© 1998 Apple Computer, Inc. – (Last Updated 23 Nov 98)

Previous | Back Up One Level | Next |